package com.sansecy.progressbar;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        ProgressBar progressBar = findViewById(R.id.progressBar);
        progressBar.setMaxProgress(100);
        progressBar.start();

        SunriseView sunriseView = findViewById(R.id.sunrise_view);
        sunriseView.setTime("6:55", "18:33");
        sunriseView.start();

    }
}
